package com.lanxin.qx.service;

import com.lanxin.qx.entity.QxRoleUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2025-08-19
 */
public interface IQxRoleUserService extends IService<QxRoleUser> {
    //根据角色id拿到下属员工
    public List<Integer> getEmpByRoleId(Integer roleId);

    // 保存角色与用户的关联
    boolean saveRoleUsers(Integer roleId, List<Integer> empIds);

}
